Skip to content

Conversation

@cotti
Copy link
Contributor

@cotti cotti commented Nov 5, 2025

This PR allows the SearchOrAskAi feature to display better descriptive error callouts.

In case an error 429 arrives, we use the value of Retry-after as a cooldown before further interactions can happen. This blocks both search and chat until the time passes.

@cotti cotti self-assigned this Nov 5, 2025
@cotti cotti requested a review from a team as a code owner November 5, 2025 04:47
@cotti cotti requested a review from Mpdreamz November 5, 2025 04:47
@cotti cotti added the feature label Nov 5, 2025
cotti added 7 commits November 5, 2025 11:52
# Conflicts:
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/ChatMessage.tsx
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/StreamingAiMessage.tsx
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/useAskAi.ts
@cotti cotti requested a review from reakaleek November 5, 2025 17:29
@cotti cotti requested a review from reakaleek November 7, 2025 18:32
Copy link
Member

@reakaleek reakaleek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for handling my questions/suggestions.

Just had a small comment. But generally, LGTM.

@cotti cotti enabled auto-merge (squash) November 10, 2025 12:18
@cotti cotti merged commit ada197a into main Nov 10, 2025
22 checks passed
@cotti cotti deleted the feature/soa_error_handling branch November 10, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants